import com.zzb.dao.UserDao;
import com.zzb.dao.impl.UserDaoImpl;
import com.zzb.entity.UserEntity;
import com.zzb.util.Md5;
import org.junit.Test;

public class AAA {
    @Test
    public void Ab(){
        UserDao userDao = new UserDaoImpl();
        UserEntity userEntity = new UserEntity();
        userEntity.setUsername("111111");
        userEntity.setPassword(Md5.encoderByMd5("111111"));
        userEntity.setSex("男");
        userEntity.setCreateTime("2022-10-30 16:13:49");
        userEntity.setUpdateTime("2022-10-30 16:13:49");
        userDao.add(userEntity);

    }
}
